#include <iostream>

using namespace std;

class printData
{
public:
    void print(int i)
    {
        cout << "int num=" << i << endl;
    }
    void print(float f)
    {
        cout << "float num=" << f << endl;
    }
    void print(char i[])
    {
        cout << "char i[]=" << i << endl;
    }
};

int main()
{
    printData pd;

    pd.print(5);

    pd.print(500.263f);

    char c[] = "hello c++";
    pd.print(c);
    return 0;
}